package com.ujs.edu.medicine.dataobject;

import com.ujs.edu.medicine.util.DateFormate;

import java.util.Date;
import java.util.List;

/**
 * 
 * @date 2020/08/06
 */
public class YunjiayiPost {
    private Integer postId;

    private Integer userid;

    private String content;

    private Integer likeid;

    private Integer commitid;

    private String createTime;

    private String modifyTime;

    private Author author;

    private String comment_num;//评论数量

    private String like_num;//点赞数量

    private Boolean isLike;//是否被点赞

    private boolean isCatch;//是否被接单

    private List<String> files;

    private Boolean isMy;//是否是当前用户的

    public Boolean getIsMy() {
        return isMy;
    }

    public void setIsMy(Boolean my) {
        isMy = my;
    }

    public Boolean getIsLike() {
        return isLike;
    }

    public void setIsLike(Boolean like) {
        isLike = like;
    }

    public boolean isCatch() {
        return isCatch;
    }

    public void setCatch(boolean aCatch) {
        isCatch = aCatch;
    }

    public List<String> getFiles() {
        return files;
    }

    public void setFiles(List<String> files) {
        this.files = files;
    }

    public String getComment_num() {
        return comment_num;
    }

    public void setComment_num(String comment_num) {
        this.comment_num = comment_num;
    }

    public String getLike_num() {
        return like_num;
    }

    public void setLike_num(String like_num) {
        this.like_num = like_num;
    }

    public Author getAuthor() {
        return author;
    }

    public void setAuthor(Author author) {
        this.author = author;
    }

    public Integer getPostId() {
        return postId;
    }

    public void setPostId(Integer postId) {
        this.postId = postId;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getLikeid() {
        return likeid;
    }

    public void setLikeid(Integer likeid) {
        this.likeid = likeid;
    }

    public Integer getCommitid() {
        return commitid;
    }

    public void setCommitid(Integer commitid) {
        this.commitid = commitid;
    }

    public String getCreateTime() {
        return createTime;
    }

    public Boolean getLike() {
        return isLike;
    }

    public void setLike(Boolean like) {
        isLike = like;
    }

    public Boolean getMy() {
        return isMy;
    }

    public void setMy(Boolean my) {
        isMy = my;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(String modifyTime) {
        this.modifyTime = modifyTime;
    }
}